<!DOCTYPE html>
<html lang="en" manifest="/header.appcache">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <meta name="author" content="chinadangmai.com">
        <meta name="description" content="当买">
        <meta name="keywords" content="当买">
        <meta http-equiv="Access-Control-Allow-Origin" content="*">
        <title>当买-收货地址</title>   
        <script src="../../js/edition.js"></script> 
        <link rel="stylesheet" href="../../css/base.css">
        <link rel="stylesheet" href="../../css/popover.css">
        <script>
                document.write("<l"+"ink rel='stylesheet' href='../../css/index.css?version="+edition+"'>")
        </script>
        <script>
                document.write("<l"+"ink rel='stylesheet' href='../../css/member.css?version="+edition+"'>")
        </script>
        <script>
                document.write("<l"+"ink rel='stylesheet' href='../../css/cart.css?version="+edition+"'>")
        </script>
        <script src="../../js/jquery.js"></script>
        <script src="../../js/jquery.cookie.js"></script>
        <script src="../../js/template.js"></script>
        <script> 
                document.write("<s"+"cript type='text/javascript' src='../../js/url.js?version="+edition+"'></scr"+"ipt>"); 
        </script>
        <script src="../../js/popover.js"></script>
        <script> 
                document.write("<s"+"cript type='text/javascript' src='../../js/header.js?version="+edition+"'></scr"+"ipt>"); 
        </script>
        <script> 
                document.write("<s"+"cript type='text/javascript' src='../../js/member_left_nav.js?version="+edition+"'></scr"+"ipt>"); 
        </script>
        <script> 
                document.write("<s"+"cript type='text/javascript' src='../../js/member_address.js?version="+edition+"'></scr"+"ipt>"); 
        </script>
        <script> 
                document.write("<s"+"cript type='text/javascript' src='../../js/setArea.js?version="+edition+"'></scr"+"ipt>"); 
        </script>
        <style>
            .site_bg dd .addAddress_btn {
                display: block;
                font-size: 16px;
                width: 100px;
                height: 36px;
                text-align: center;
                line-height: 36px;
                color: #ffffff;
                border-radius: 4px;
                /* border: #3385ff solid 1px; */
                margin-left: 80px;
                cursor: pointer;
                background: -webkit-linear-gradient(90deg, #f45e6a, #f10215); /* Safari 5.1 - 6.0 */
                background: -o-linear-gradient(90deg, #f45e6a, #f10215); /* Opera 11.1 - 12.0 */
                background: -moz-linear-gradient(90deg, #f45e6a, #f10215); /* Firefox 3.6 - 15 */
                background: linear-gradient(90deg, #f45e6a, #f10215); /* 标准的语法 */
                box-shadow: 0 4px 10px rgba(241,2,21,.25);}
        </style>
    </head>
    <body style="background:#f5f5f5;">
        <input type="hidden" name="" value="6" class="type">
        <header class="mod_head"></header>
        <script>
            $(function(){
                var src=$('.mod_logo img').attr('src')
                $('.mod_logo img').attr('src','../'+src)
            
            }); 
        </script>
        <div class="mod_backstage">
            <!-- 左侧菜单 start -->
            <div class="backstage_left"></div>
            <!-- 左侧菜单 end -->
            <!-- 右侧内容 start -->
            <div class="backstage_right">
                <div class="mod_route">
                    <a><span>我的位置：</span><span>个人中心&nbsp;</span><span>&gt;&nbsp;</span><span>收货地址</span></a>
                </div>
                <div class="member_right_box">
                    <div class="mod_right_tit">
                        <span class="home_tit_name">收货地址</span>
                    </div>
                    <div class="address_wrap">
                        <ul>
                            
                        </ul>
                        <div class="address_bottom" style="display:none;">
                            <div class="add_address">新增收货地址</div>
                            <p>（共<span></span>个收货地址，最多可以保存9个地址）</p>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 右侧内容 start -->
        </div>
        <!-- 网站底部 start -->
        <footer class="mod_foot"></footer>
        <!-- 网站底部 end -->
        <script src="../../js/index_foot.js"></script>
        <script id="address" type="text/html">
            {{ for(var i = 0; i < addressList.length; i++) { }}
                <li data-addres-id="{{=addressList[i].addressId}}">
                    <div class="address_tit">
                        <span class="address_name">{{=addressList[i].addressee}}</span>
                        <span class="address_phone">{{=addressList[i].phone}}</span>
                    </div>
                    <div class="address_info" data-area-info="{{=addressList[i].areaInfo}}" data-address="{{=addressList[i].address}}">
                        <p>{{=addressList[i].areaInfo}}   {{=addressList[i].address}}</p>
                    </div>
                    <div class="address_bottom">
                        <a href="javascript:;" class="address_set_default" data-isDefault="{{=addressList[i].isDefault}}" data-addres-id="{{=addressList[i].addressId}}">{{=addressList[i].isDefaultTxt}}</a>
                        <a href="javascript:;" class="edit_address" data-provinceId="{{=addressList[i].provinceId}}" data-cityId="{{=addressList[i].cityId}}" data-areaId="{{=addressList[i].areaId}}">编辑</a>
                        <a href="javascript:;" class="delete_address">删除</a>
                    </div>
                </li>
            {{ } }}
        </script>
        
    </body>
    <script src="../../js/order_this.js"></script>
    <script>
        $(function(){
            var w_h=$(window).height();
            // console.info(w_h);
            $('.backstage_right').css('min-height',(w_h-366)+'px');
        })
    </script>
    <script> 
        document.write("<s"+"cript type='text/javascript' src='../../js/nav_hover.js?version="+edition+"'></scr"+"ipt>"); 
    </script>
    <script>
        $(function(){
            // 底部小图标路径修改
            $('.foot_list>img').each(function(){
                var src = $(this).attr('src');
                $(this).attr('src','../../'+src);
            });
            // 底部链接修改
            $('.footer_ul a').each(function(){
                var newHref = $(this).attr('href');
                if(newHref!='javascript:;'){
                    $(this).attr('href','..'+newHref);
                }
            });
        });
    </script>    
</html>